package com.back.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author liyang
 * @since 2025-04-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("online_exam")
public class OnlineExam implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 考试标题
     */
    private String title;

    /**
     * 试卷ID
     */
    private Long paperId;

    /**
     * 关联职位ID
     */
    private Long jobId;

    /**
     * 发起招聘方ID
     */
    private Long recruiterId;

    /**
     * 开始时间
     */
    private Long startTime;

    /**
     * 结束时间
     */
    private Long endTime;

    /**
     * 状态：pending-未开始, processing-进行中, ended-已结束, canceled-已取消
     */
    private String status;

    /**
     * 防作弊等级：1-低, 2-中, 3-高
     */
    private Integer antiCheatingLevel;

    /**
     * 备注说明
     */
    private String remark;

    /**
     * 创建时间
     */
    private Long createTime;

    /**
     * 更新时间
     */
    private Long updateTime;

    /**
     * 是否删除
     */
    private Boolean deleted;


}
